/**
 * FileName: PurchaseQuery
 * Author:   Molzx
 * Date:     2019/10/5 12:48
 * Description: 采购申请条件查询
 */
package com.dgut.domain;

/**
 * 〈采购申请条件查询〉
 */
public class PurchaseQuery {
    //采购申请单单据编号
    private String purchapplyid;

    //申请人
    private String createuser;

    //采购申请单单据状态
    private String applystate;

    //提交状态，是否提交为待审核状态,
    private String executestate;

    //分页显示的页码
    private Integer page;

    // 后台数据库起始行
    private Integer start;

    // 分页所取行数
    private Integer rows;

    public String getPurchapplyid() {
        return purchapplyid;
    }

    public void setPurchapplyid(String purchapplyid) {
        this.purchapplyid = purchapplyid;
    }

    public String getCreateuser() {
        return createuser;
    }

    public void setCreateuser(String createuser) {
        this.createuser = createuser;
    }

    public String getApplystate() {
        return applystate;
    }

    public void setApplystate(String applystate) {
        this.applystate = applystate;
    }

    public String getExecutestate() {
        return executestate;
    }

    public void setExecutestate(String executestate) {
        this.executestate = executestate;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        //根据页码设置后台数据库起始记录位置
        this.start=(page - 1) * rows;
        this.rows = rows;
    }
}
